package com.example.novelstory;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@Slf4j
@SpringBootApplication
//@ComponentScan("com.example.novelstory.config")
@MapperScan("com.example.novelstory.dao")
public class NovelstoryApplication {
    public static void main(String[] args) {
        SpringApplication.run(NovelstoryApplication.class, args);
        log.info("---------------启动成功--------------");
        log.info("open http://localhost:8080/doc.html");
    }

}
